home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
comm
/
bbs
/
Cit_Util_7H21.lha
/
Citadel_netstat.lha
/
netstat.doc
< prev
Wrap
Text File
|
1997-07-27
|
6KB
|
134 lines
Network Statistics
Introduction:
I always wanted to know how much networking was being done by
my system. I had Citadel collecting the information in various
forms and then decided to provide the information I needed and
a utility. Another thing bit of information I needed was to find
out what kinds of data rates Citadel was generating. Note, these
numbers are the true CPS. If you are doing FAST TRANSFERS with
compression, the data rate is based on the data after compression.
You could have 2 MBs of message text compressed into 200K of data,
the 200K will show up in these statistics, not the 2 MBs. Also, it
should be noted that if your modem and another modem have trouble
with the disconnect(sometimes you might get RE or RT while the other
modem has hung up, but your modem thinks it is just a transmission
error) that will extend your times and reduce your rates artificially.
General:
Citadel uses the AUDITAREA to collect statistics and information.
This utility will read one of those data files(containing raw data)
and produce several reports(depends on the options). Note: If
you are not running Citadel with an AUDITAREA defined, you will not
get these statistics and will not be able to use this utility.
Input:
The file NETWORK_ISTAT.SYS from the Citadel Audit area and options
on the command line.
Options:
-s To provide a breakdown of the data on a system by system basis.
Default is to lump all systems into one total.
-m To provide a breakdown of the data by month. Default is to lump
all months into one total.
The filename and other options are command line arguments, order does
not matter.
Output:
There are four possible reports produced by the various option choices:
I. the first example is the default, no options specified:
FF4:342> netstat test.sys
Citadel Networking Statistics Version 1.01
----- Name ----- Session Input Output Time CPS
count HH:MM:SS Min Avr Max
*** All Systems *** 821 6530064 6207051 16:39:51 3 212 478
II. Just "-s" specified:
FF4:342> netstat -s test.sys
Citadel Networking Statistics Version 1.01
----- Name ----- Session Input Output Time CPS
count HH:MM:SS Min Avr Max
Jersey Devil 294 1347448 984550 3:13:59 3 200 386
Mars Hill 35 405680 102692 0:40:35 142 208 261
Eagle Annex 207 2280277 2707555 7:21:27 139 188 221
Gateway 208 1867781 1317790 3:37:08 12 244 399
Patriot's Tapestry 9 52606 151609 0:30:07 58 113 144
JACS 39 215038 207616 0:23:43 137 297 478
The Cabin 29 361234 735239 0:52:52 207 345 452
------- ------- ------- --------
821 6530064 6207051 16:39:51 212
III. Both "-s" and "-m" specified:
FF4:342> netstat -m -s test.sys
Citadel Networking Statistics Version 1.01
----- Name ----- Session Input Output Time CPS
count HH:MM:SS Min Avr Max
jan 5 36687 11617 0:03:20 130 241 319
dec 289 1310761 972933 3:10:39 3 199 386
------- ------- ------- --------
Jersey Devil 294 1347448 984550 3:13:59 3 200 386
jan 1 7402 2147 0:00:57 167 167 167
dec 34 398278 100545 0:39:38 142 209 261
------- ------- ------- --------
Mars Hill 35 405680 102692 0:40:35 142 208 261
jan 4 47440 21053 0:06:07 167 186 211
dec 203 2232837 2686502 7:15:20 139 188 221
------- ------- ------- --------
Eagle Annex 207 2280277 2707555 7:21:27 139 188 221
jan 4 20610 23443 0:03:21 170 219 243
dec 204 1847171 1294347 3:33:47 12 244 399
------- ------- ------- --------
Gateway 208 1867781 1317790 3:37:08 12 244 399
dec 9 52606 151609 0:30:07 58 113 144
------- ------- ------- --------
Patriot's Tapestry 9 52606 151609 0:30:07 58 113 144
jan 1 9232 10390 0:01:00 327 327 327
dec 38 205806 197226 0:22:43 137 295 478
------- ------- ------- --------
JACS 39 215038 207616 0:23:43 137 297 478
jan 1 10076 34852 0:02:19 323 323 323
dec 28 351158 700387 0:50:33 207 346 452
------- ------- ------- --------
The Cabin 29 361234 735239 0:52:52 207 345 452
------- ------- ------- --------
821 6530064 6207051 16:39:51 212
IV. Just "-m" specified:
FF4:342> netstat -m test.sys
Citadel Networking Statistics Version 1.01
----- Name ----- Session Input Output Time CPS
count HH:MM:SS Min Avr Max
jan 16 131447 103502 0:17:04 130 229 327
dec 805 6398617 6103549 16:22:47 3 212 478
------- ------- ------- --------
*** All Systems *** 821 6530064 6207051 16:39:51 3 212 478
Change History
1.00 - Initial release
1.01 - Fixed bug in totals for certain options.
Added Totals bar for -m option
added a newline to separate output by system
Made min, max, and session count monthly values.